package com.huiminpay.merchant.covert;

import com.huiminpay.merchant.dto.MerchantDTO;
import com.huiminpay.merchant.vo.MerchantRegisterVo;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

@Mapper
public interface MerchantRegisterConvert {
    MerchantRegisterConvert INSTANCE = Mappers.getMapper(MerchantRegisterConvert.class);//自动生成实现方法
    MerchantDTO vo2dto(MerchantRegisterVo vo);
    MerchantRegisterVo dto2vo(MerchantDTO dto);
}